from flask import Flask
from users import auth as uauth
from users import blog as ublog
from flaskr import auth as fauth
from flaskr import blog as fblog

__author__ = '小可爱'

app = Flask(__name__)

#注册蓝图

app.register_blueprint(uauth.bp)
app.register_blueprint(ublog.bp)
app.register_blueprint(fauth.bp)
app.register_blueprint(fblog.bp)

if __name__ == '__main__':
    app.run()